package com.xmy.common.core.domain.entity;

import com.xmy.common.annotation.Excel;
import com.xmy.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

@Data
public class WeChatUser extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 头像 */
    @Excel(name = "头像")
    private String avatarUrl;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickname;

    @Excel(name = "用户名")
    private String userName;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String phone;

    /** 微信标识 */
    @Excel(name = "微信标识")
    private String openid;

    @Excel(name = "会话秘钥")
    private String sessionKey;

    /** 0是女，1是男 */
    @Excel(name = "0是女，1是男")
    private Long gender;
    @Excel(name = "最后登录时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
    private Date loginDate;

}